#include <vector>
#include <string>
#include "Operation.h"
#include "Variable.h"
#include "Equation.h"

using namespace std;

class CES
{
public:        
	string spec;
	vector<Operation> opns;
	vector<Variable> vars;
	vector<Equation> eqns;

	void set_specname(string spec);
	void add_opns(Operation o);
	void add_vars(Variable v);
	void add_eqns(Equation q);
	Variable get_var(string s);
	bool var_exist(Variable v);
	bool var_exist(string s);
	bool opns_exist(string s);
	Operation get_opns(string s);
	Equation get_eqns(string s);

	void execute(string opns, vector<Variable> vars);
};